export default {
  'get /api/language': {
    code: '200',
    success: true,
    resp: [
      {
        code: 'zh-CN',
        name: 'CN 中文',
      },
      {
        code: 'en-US',
        name: 'EN English',
      },
    ],
    msgList: null,
  },

  'get /api/language/resource/zh-CN': {
    code: '200',
    success: true,
    resp: {
      ui_comm_name: '名称',
      ui_comm_search: '搜索',
      xxx: '搜索xxx',
      I18nMgr: '国际化管理',
      I18nLanguage: '区域语言',
      loginTitle: '登录页',
      tabTitleA: '账号密码登录',
      tabTitleB: '手机号登录',
      accountPlaceholder: '账号...',
      passwordPlaceholder: '密码...',
      loginBtnText: '登录',
      accountErrorMsg: '请输入账号!',
      passwordErrorMsg: '请输入密码!',
      registerBtnText: '注册账号',
      rememberMeText: '记住我',
      forgetPwdText: '忘记密码',
      phonePlaceholder: '手机号...',
      validateCodePlaceholder: '验证码...',
      loadValidateCodeBtn: '获取验证码',
      menuWelcome: '欢迎',
      menuOne: '一级菜单',
      menuTwo: '二级菜单',
      menuDemo: '示例',
      userProfile: '个人中心',
      setting: '设置',
      exit: '退出',
      optConfirm: '操作确认',
      logoutConfirm: '您是否确认退出系统?',
      mgrNormal: '弹窗新增管理页',
      mgrNewNormal: '新页新增管理页',
      pageNotFound: '抱歉, 您访问的界面不存在.',
      goBackHome: '返回首页',
      desc403: '抱歉,您没有权限访问这个界面.',
      desc500: '抱歉,服务器好像出问题了.',
      expPage: '异常页',
      page403: '403',
      page500: '500',
      demoPage: '示例界面',
    },
    msgList: null,
  },

  'get /api/language/resource/en-US': {
    code: '200',
    success: true,
    resp: {
      ui_comm_name: 'name',
      ui_comm_search: 'Search',
      xxx: 'find xxx',
      I18nMgr: 'I18n Manage',
      I18nLanguage: 'I18n Language',
      loginTitle: 'Login Page',
      tabTitleA: 'Account password login',
      tabTitleB: 'Phone number login',
      accountPlaceholder: 'Account...',
      passwordPlaceholder: 'Password...',
      loginBtnText: 'Login',
      accountErrorMsg: 'Please input account!',
      passwordErrorMsg: 'Please input password!',
      registerBtnText: 'Register',
      rememberMeText: 'Remember me',
      forgetPwdText: 'Forget password',
      phonePlaceholder: 'Phone number...',
      validateCodePlaceholder: 'Validate code...',
      loadValidateCodeBtn: 'Get validate code',
      menuWelcome: 'welcome',
      menuOne: 'first',
      menuTwo: 'second',
      menuDemo: 'demo',
      userProfile: 'Profiles',
      setting: 'Settings',
      exit: 'Exit',
      optConfirm: 'Confirm',
      logoutConfirm: 'Are you sure exit now?',
      mgrNormal: 'Normal Mgr',
      mgrNewNormal: 'New Normal Mgr',
      pageNotFound: 'Sorry, the page you visited does not exist.',
      goBackHome: 'Back Home',
      desc403: "Sorry, you don't have access to this page.",
      desc500: 'Sorry, the server is reporting an error.',
      expPage: 'Exception Page',
      page403: '403',
      page500: '500',
      demoPage: 'Demo Page',
    },
    msgList: null,
  },

  'get /api/menu': {
    code: '200',
    success: true,
    resp: [
      {
        path: '/',
        name: '欢迎',
        i18n: 'menuWelcome',
        icon: 'smile',
        children: [
          {
            path: '/welcome',
            name: '一级菜单',
            i18n: 'menuOne',
            icon: 'smile',
            children: [
              {
                path: '/welcome/welcome',
                name: '二级菜单',
                i18n: 'menuTwo',
                icon: 'smile',
                exact: true,
              },
            ],
          },
        ],
      },
      {
        path: '/backend/index',
        name: '这是示例',
        i18n: 'menuDemo',
        icon: 'heart',
      },
      {
        path: '',
        name: '示例页面',
        i18n: 'demoPage',
        icon: 'heart',
        children: [
          {
            path: '/backend/normal',
            name: '弹窗新增管理页',
            i18n: 'mgrNormal',
            icon: 'heart',
          },
          {
            path: '/backend/new-normal',
            name: '新页新增管理页',
            i18n: 'mgrNewNormal',
            icon: 'heart',
          },
        ],
      },
      {
        name: '异常页面',
        i18n: 'expPage',
        icon: 'smile',
        children: [
          {
            path: '/backend/403',
            name: '权限不足页面',
            i18n: 'page403',
            icon: 'smile',
          },
          {
            path: '/backend/500',
            name: '异常页面',
            i18n: 'page500',
            icon: 'smile',
          },
        ],
      },
      {
        name: '国际化',
        i18n: 'I18nMgr',
        icon: 'smile',
        children: [
          {
            path: '/backend/i18n/language',
            name: '区域语言',
            i18n: 'I18nLanguage',
            icon: 'smile',
          },
          {
            path: '/ui/i18n/resource',
            name: '国际化资源',
            i18n: 'I18nResource',
            icon: 'smile',
          },
        ],
      },
    ],
    msgList: null,
  },
};
